<?php


namespace app\common\model;

class Article extends Basemodel
{

    protected $autoWriteTimestamp = true;
//    protected $auto = ['name', 'ip'];
//    protected $insert = ['status' => 0];
    protected $update = [];

    public function comments()
    {
        return $this->hasMany('articlemass','aid');
    }

}